<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016-02-23
 * Time: 11:23
 */

try
{
  $a = 1;
  if($a==1){
      throw new Exception('exception11111111111111');
  }
}catch (Exception $e){
    echo $e->getMessage();
}